{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "8d66a4f4-d793-4385-8832-64722b7b2c3b",
   "metadata": {},
   "outputs": [],
   "source": [
    "from data_process import *\n",
    "import torch\n",
    "import torch.nn as nn\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "0056418b-6844-4061-a2ec-d74bb37d6c92",
   "metadata": {},
   "outputs": [],
   "source": [
    "dataloader, val_dataloader, phone_dict = get_train_val_DataLoader(embedding_dim = 200)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "72f2ec88-c5f0-4f65-b001-77ca5ddb71cc",
   "metadata": {},
   "outputs": [],
   "source": [
    "data_iter = iter(dataloader)\n",
    "batch = next(data_iter)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "08633ca8-4c58-4a75-9f23-a39e023cd479",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "torch.Size([12, 100])"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "batch[0]['sentence'].shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "7c9b79de-386b-4a11-ac9b-12272dcce9d7",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "46f73aaa-3bd7-41d6-abd8-228e63dd2007",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "72051b63-2101-44ee-8b95-fc37f0074bec",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
